import request from "@/common/request"

//考勤规则设置分页展示
export const attendancesettingPage = (queryForm) => {
    return request("get", "/oa/attendanceSetting/page", queryForm);
}
//考勤规则设置列表展示
export const attendancesettingList = (queryForm) => {
    return request("get", "/oa/attendanceSetting/list", queryForm);
}
//考勤规则设置详情
export const attendancesettingInfo = (id) => {
    return request('get', '/oa/attendanceSetting/info', {
        id: id
    })
}
//考勤规则设置信息保存
export const attendancesettingSave = (data) => {
    return request('post', '/oa/attendanceSetting/save', data)
}
//考勤规则设置信息修改
export const attendancesettingEdit = (data) => {
    return request('post', '/oa/attendanceSetting/edit', data)
}
//考勤规则设置信息删除
export const attendancesettingDel = (id) => {
    return request('post', '/oa/attendanceSetting/delete?id=' + id)
}
//考勤规则设置批量删除
export const attendancesettingDelBatch = (ids) => {
    return request('post', '/oa/attendanceSetting/deleteBatch', ids)
}
//考勤规则设置动态表头导出
export const attendancesettingDynamicExport = (data) => {
    return request("eptpost", '/oa/attendanceSetting/exportDynamic', data)
}
